function PointsPanel(x, y, w, h, td)
{
  var _x;
  var _y;
  var _root;
  var _width;
  var _height;
  var _td;
  var textBox;
  
  this._x = x;
  this._y = y;
  this._width = w;
  this._height = h;
  this._td = td;
}

PointsPanel.prototype.Init = function()
{
  this._root = new MovieClip();
  this._root.x = this._x;
  this._root.y = this._y;
  
  //dibujo el fondo
  this._root.DrawRectangle(0, 0, this._width, this._height, '#CCCCCC', 1);
  this.textBox = new MovieClip("pPanel_textBox", this._root);
  
  this.UpdatePoints(0);
}

PointsPanel.prototype.UpdatePoints = function(points)
{
	this.textBox.DrawString(5, 15, "Points " + points, "#660000", true);
}

PointsPanel.prototype.toString = function()
{
  return "[PointsPanel]";
}